package com.xzz.cloud.alibaba.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.xzz.cloud.entity.CommonResult;

/**
 * @author: hhz
 * @createDate: 2021-4-6
 */
public class CustomerBlockHandler {
    public static CommonResult handlerException1(BlockException exception){
        return new CommonResult(444,"按客户自定义,global handlerException-----1");
    }
    public static CommonResult handlerException2(BlockException exception){
        return new CommonResult(444,"按客户自定义,global handlerException-----12");
    }
}
